Objects Reference

render::DrawView

Prototype

virtual void DrawView()=0

Parameters

None

Return Value

None

Remarks

This virtual function is called to render the scene. Sub-classes should does the following order of operations:
1) Computes the elapsed time from last frame.
2) Call InitView to initialize global render setting for the frame
3) Clear the Z-buffer, color buffer is flyengine->clearbk is TRUE and stencil buffer if flyengine->stencil is TRUE
4) Call flyengine->step passing elapsed time (update all scene and plug-in objects)
5) Swap buffers to display rendered image